<{include file="public_html/header.html"}>
<{include file="public_html/left_menu.html"}>

<blockquote class="layui-elem-quote"><{$action}></blockquote>

<form class="layui-form layui-form-pane" method="post" action="<{if !empty($user_id)}>/sys_user/update_school_pwd<{else}>/sys_user/update_admin_pwd<{/if}>">
  <input type="hidden" name="uid" value="<{$user_id|default:0}>"/>
  <{if empty($user_id)}>
	<div class="layui-form-item">
		<label class="layui-form-label">旧密码</label>
		<div class="layui-input-block">
            <input type="password" class="layui-input" name="old_password" placeholder="请输入旧密码"  lay-verify="pass|required" value="" >
		</div>
	</div>
  <{/if}>
	<div class="layui-form-item">
    	<label class="layui-form-label">新密码</label>
        <div class="layui-input-block">
      		<input type="password" name="password" lay-verify="pass|pass" placeholder="请输入新密码" autocomplete="off" class="layui-input">
        </div>
  	</div>

  	<div class="layui-form-item">
    	<label class="layui-form-label">确认密码</label>
        <div class="layui-input-block">
      		<input type="password" name="confirm_password" lay-verify="pass|pass" placeholder="请输入确认密码" autocomplete="off" class="layui-input">
        </div>
  	</div>

  	

	<div class="layui-input-block">
  		<button class="layui-btn" lay-submit lay-filter="*">立即提交</button>
		<button type="reset" class="layui-btn layui-btn-primary">重置</button>
	</div>
</form>

<{include file="public_html/footer.html"}>